package com.aba.bms.management;

	public class User {
	    private String username;
	    private String password;
	    private String phone;
	    private boolean isAdmin;

	    public User(String username, String password, String phone, boolean isAdmin) {
	        this.username = username;
	        this.password = password;
	        this.phone = phone;
	        this.isAdmin = isAdmin;
	    }

	    // Getter和Setter方法
	    public String getUsername() {
	        return username;
	    }

	    public void setUsername(String username) {
	        this.username = username;
	    }

	    public String getPassword() {
	        return password;
	    }

	    public void setPassword(String password) {
	        this.password = password;
	    }

	    public String getPhone() {
	        return phone;
	    }

	    public void setPhone(String phone) {
	        this.phone = phone;
	    }

	    public boolean isAdmin() {
	        return isAdmin;
	    }

	    public void setAdmin(boolean admin) {
	        isAdmin = admin;
	    }
	}


